﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentValidation;

namespace Peak.Web.Controllers.Models
{
  public class ProjectModelValidator : AbstractValidator<ProjectModel>
  {
    public ProjectModelValidator()
    {
      RuleFor(f => f.Name).NotNull().NotEmpty();      
    }
  }
}
